package com.shisfish.core.Inter;

import java.util.List;


public interface IModelInter<T> {
	
	public int insertOne(T t);
	public int insertAll(List<T> list);
	public int updateOne(T t);
	public int updateAll(List<T> list); 
	public List<T> selectById(int id);
	public List<T> selectByKey(String key);
	public int countAll();
	public List<T> selectAll();
	public int deleteOneById(int id);
	public int deleteAllById(List<?> ids);
	public int deleteOneByKey(String key);
	public int deleteAllByKey(List<?> keys);

}
